<template>
    <div>
    
            <!-- 用户名 -->
            
                <el-input class="a" v-model="username" placeholder="请输入账号" prefix-icon="el-icon-s-custom"></el-input>
       
        <!-- 密码 -->
        
       
        
                <el-input class="a" v-model="name" placeholder="请输入密码" prefix-icon="el-icon-search"></el-input>
        
      
                <el-input class="a" v-model="age" placeholder="请输入密码" prefix-icon="el-icon-search"></el-input>
       
                <el-input  class="a" v-model="phone" placeholder="请输入密码" prefix-icon="el-icon-search"></el-input>
        
        <!-- 按钮区域 -->
        
                <el-button :plain="true" type="primary" round @click="login()">注册</el-button>
                <el-button type="primary" round >重置</el-button>
                <a href="/login">返回登录</a>
        
    </div>
</template>
<script>
export default {
    data: {
        return: {
            
        username: '',
        password: '',
        name: '',
        age: '',
        phone: '',
        }
    },
    methods: {
        login () {
            this.$router.push('/Home')
        },
        zhuce () {
            this.$router.push('/Home')
        }
    }
}
</script>